﻿<%@ Page Title="Cadastro de Tipo de Usuario" Language="C#" MasterPageFile="~/SiteCadastro.Master" AutoEventWireup="true" CodeBehind="TipoUsuarioView.aspx.cs" Inherits="ASPLanchonete.Telas.TipoUsuarioView" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="form" runat="server">
    <h1>Cadastro de Tipo de Usuário</h1>
    <br />
    <p>
        <asp:Label Text="Código:" runat="server" Width="300"/>
        <asp:TextBox ID="txtCodigo" runat="server" Width="300"  CssClass="textBox" 
            Enabled="False">0</asp:TextBox>
    </p>
    <p>
        <asp:Label Text="Nome Tipo de Usuário:" runat="server" Width="300"/>
        <asp:TextBox ID="txtNomeTipoUsuario" runat="server" Width="300" CssClass="textBox" />
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNomeTipoUsuario" ErrorMessage="*Obrigatório" ForeColor="Red" />
    </p>  
    <asp:DataList ID="dtlTelaSistema" runat="server" RepeatColumns="6" 
        RepeatDirection="Vertical" CellSpacing="40" >
        <ItemTemplate>
            <asp:CheckBox ID="chbTelaSistema" Runat="server" Text='<%# Eval("Key")%>' 
            Checked='<%# Eval("Value")%>'
            />
        </ItemTemplate>
    </asp:DataList>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="grid" runat="server">
</asp:Content>
